
.my-container {
    width: 960px;
    max-width: 960px;
    margin: auto;
}

.dark-blue {
    color: #1f2a59;
}

.light-blue {
    color: #566592;
}

.yl-header, .yl-nav, .yl-info, .yl-slider, .yl-footer, .yl-sub {
    width: 100%;
    min-width: 960px;
    margin: auto;
    background-size: cover;
}

.yl-header {
    height: 90px;
    background-color: #eee;
    padding: 15px 5px;
}

.left {
    float: left;
}

.right {
    float: right;
}

.clearfix {
    clear: both;
}

.inline {
    display: inline-block;
}

.stock-name {
    margin-top: 5px;
    color: #4573af;
}

.stock-code {
    line-height: 1em;
    height: 3em;
    vertical-align: middle;
    color: red;
}

.flag {
    line-height: 1em;
    height: 3em;
    vertical-align: middle;
}

.flag img {
    width: 28px;
    height: auto;
    cursor: hand;
}

/* nav */
.yl-nav {
    background-color: #1f2a59;
}

.yl-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.yl-nav li {
    float: left;
}

.yl-info .row {
    margin: 0px;
}

.yl-nav li a, .dropbtn {
    color: white;
    display: inline-block;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    min-width: 102px;
}

.yl-nav li a:hover, .dropdown:hover .dropbtn {
    background-color: #eee;
    color: #1f2a59;
}

.dropdown {
    display: inline-block;
    position: absolute;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #eee;
    min-width: 80px;
    /*box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);*/
    z-index: 100;
}

.yl-nav li .dropdown-content a {
    color: #1f2a59;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
}

.yl-nav li .dropdown-content a:hover {
    background-color: #eee;
    color: #ab8749;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/*slider*/
.yl-slider {
    background-color: #384f7c;
}

.my-slider {
    padding: 5px 0;
    width: 100%;
}

.my-slider img {
    width: 100%;
    border-radius: 10px;
}

.my-slider .slick-dots {
    bottom: 20px;
}

.slick-dotted.slick-slider {
    margin-bottom: 0;
}

/*子图*/
.yl-sub {
    text-align: center;
    padding: 5px 0;
    margin: 0;
}

.yl-sub img {
    width: 99%;
    height: 148px;
    border-radius: 8px;
}

.yl-sub .sub-title {
    color: #6671a1;
    background: linear-gradient(to right, #1f2a59, #2c3368, #353e6f, #aaa);
    font-weight: bold;
    text-shadow: 0.1em 0.1em #000;
}

.yl-sub .row {
    margin-left: 0;
    margin-right: 0;
}

.yl-sub .row .col-xs-3 {
    padding: 0;
}

/*信息版*/
.yl-info {
    padding-top: 10px;
    padding-bottom: 10px;
}

.yl-info .title {
    width: 100%;
    height: 40px;
    color: white;
    font-weight: bold;
    text-shadow: 0.1em 0.1em #000;
    background-image: url(../img/title-bg.png);
    background-size: cover;
    padding: 4px 38px;
}

.yl-info .detail-content, .yl-info .news-content {
    padding: 5px 10px;
    margin: 5px 10px;
    font-size: 10px;
}

.yl-info .detail-more {
    color: #aaa;
    position: absolute;
    right: 17px;
    top: 190px;
    font-size: 8px;
    cursor: pointer;
}

.yl-info .col-xs-4 {
    padding: 0;
}

.yl-info .news-content {
    border-left: #aaa solid 2px;
}

.yl-info ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.yl-info li {
    background: url("../img/li-dot.png") no-repeat 4px 1px;
    padding-left: 20px;
    width: 100%;
    display: inline-block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-top: 3px;
}

.yl-info .news-detail {
    padding: 0 0 10px 0;
}

.yl-info .news-content .news-title {
    width: 75%;
    display: inline-block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.yl-info .sub-news li {
    line-height: 10px;
}

.yl-info .news-content .news-more {
    color: #aaa;
    width: 25%;
    float: right;
    text-align: right;
    display: inline-block;
    cursor: pointer;
}

.yl-info .stock-content {
    margin: 5px;
    padding: 5px;
    text-align: center;
    width: 100%;
    border-left: #aaa solid 2px;
}

.yl-info .stock-content img {
    width: 85%;
    border-radius: 10px;
    border: #aaa solid 4px;
}

/*页脚*/
.yl-footer {
    font-size: 8px;
    text-align: right;
    padding-bottom: 80px;
}

.yl-footer img {
    height: 40px;
}

.yl-header, .yl-sub, .yl-info, .yl-footer {
    background-color: #bdc1c8;;
}

.qr-code {
    width: 80px;
    position: fixed;
    top: 150px;
    right: 30px;
    z-index: 100;
}

.qr-code img {
    width: 100%;
}